/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.Solenoid;
import java.util.Vector;

/**
 *
 * @author robert
 */
public class PhoenixMinibot {
    public Vector debugMessages = new Vector(0);
    Solenoid minibotPneumatic;
    public PhoenixMinibot(Solenoid minibotPneumatic) {
        this.minibotPneumatic = minibotPneumatic;
    }

    public void addMessage(String message) {
        debugMessages.addElement(message);
    }

    public void deploy(boolean enabled) {
        if(minibotPneumatic != null) minibotPneumatic.set(enabled);
        addMessage("deployed: " + enabled);
    }
}
